package android.slc.box.core.ui;

import android.slc.box.core.launcher.StageLauncher;
import android.slc.box.core.launcher.StageLauncherImpl;
import javafx.stage.Stage;

public class BaseStageView<VM extends BaseStageViewModel> extends BaseView<VM, StageLauncher, Stage> implements StageLauncher {

    @Override
    protected StageLauncher setWindowLauncher() {
        return new StageLauncherImpl(
                this.getViewModel().getStageScope(),
                this.getViewModel().getIntentScope().getStylesheets(),
                this.getViewModel().getIntentScope().getBundle()
        );
    }

}
